import IvzOnlineStore from "@/store";
import IvzDraggable from "@/utils/draggable";
import IvzOnline from "@/components/IvzOnline.vue";
import {DragOutlined} from '@ant-design/icons-vue'
import {createFromIconfontCN} from "@ant-design/icons-vue";
import IvzBasicContainer from "@/components/container/IvzBasicContainer.vue";
import IvzTableContainer from "@/components/container/IvzTableContainer.vue";

const IvzIcon = createFromIconfontCN({
    scriptUrl: '//at.alicdn.com/t/font_1174643_8oqzyet5k3d.js',
    extraCommonProps: {
        style: {fontSize: '17px'}
    }
})

export {IvzOnline, IvzTableContainer, IvzBasicContainer, IvzDraggable, IvzOnlineStore}
const components = [IvzOnline, IvzTableContainer, IvzBasicContainer, IvzDraggable]
export default {
    install(app) {
        app.component("IvzIcon", IvzIcon);
        app.component("DragOutlined", DragOutlined);
        components.forEach(component => {
            app.component(component.name, component)
        })
    }
}
